import request from '@/utils/request'

// 查询科目要求信息表列表
export function listCompassChangeSubject(query) {
    return request({
        url: '/system/CompassChangeSubject/list',
        method: 'get',
        params: query
    })
}

// 查询科目要求信息表详细
export function getCompassChangeSubject(createTime) {
    return request({
        url: '/system/CompassChangeSubject/' + createTime,
        method: 'get'
    })
}

// 新增科目要求信息表
export function addCompassChangeSubject(data) {
    return request({
        url: '/system/CompassChangeSubject',
        method: 'post',
        data: data
    })
}

// 修改科目要求信息表
export function updateCompassChangeSubject(data) {
    return request({
        url: '/system/CompassChangeSubject',
        method: 'put',
        data: data
    })
}

// 删除科目要求信息表
export function delCompassChangeSubject(createTime) {
    return request({
        url: '/system/CompassChangeSubject/' + createTime,
        method: 'delete'
    })
}

// 导出科目要求信息表
export function exportCompassChangeSubject(query) {
    return request({
        url: '/system/CompassChangeSubject/export',
        method: 'get',
        params: query
    })
}